package bo.zhao.action.simple_factory.product;

public class SMSSender implements ISender {

	private long delay=-1;
	
	public long getDelay() {
		return delay;
	}

	public void setDelay(long delay) {
		this.delay = delay;
	}

	@Override
	public boolean send(String content) {
		System.out.println("delay "+delay+" sms:"+content);
		return false;
	}
	
	@Override
	public void init() {
		System.err.println("init for sms");
		
	}

	@Override
	public void prepare() {
		System.err.println("prepare for sms");
	}

}
